//
//  BaseViewController.h
//  JobFreely
//
//  Created by Dale on 2017/5/23.
//  Copyright © 2017年 Dale. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MBProgressHUD;

@interface BaseViewController : UIViewController

@property (nonatomic, strong) MBProgressHUD *hud;

- (void)showOnlyHud;

- (void)showHudWithText:(NSString *)text;

- (void)hideHud;

- (void)hideHudAfterSeconds:(int)seconds;

- (void)showText:(NSString *)text afterSeconds:(int)seconds;


- (void)configureLeftNavigationBarItem;

- (void)configureLeftNavigationBarItemWithImage:(NSString *)imgStr;

- (void)configureRightNavigationBarItemWithTitle:(NSString *)title;

- (void)configureNavigationItem;

- (void)handleLeftBtnAction;

- (void)handleRightBtnAction;

@end
